import Layout from '@/layouts';

export default [
  {
    path: '/wlaq',
    component: Layout,
    redirect: '/wlaq/notice/index',
    meta: {
      title: '网络安全',
      isOrNot: true,
      // icon: 'view-module',
    },
    children: [
      {
        path: 'notice',
        component: () => import('@/layouts/blank.vue'),
        meta: {title: '通知公告管理', icon: 'view-module'},
        children: [
          {
            path: 'index',
            component: () => import('@/pages/wlaq/notice/notice-index.vue'),
            meta: { title: '通知公告列表'},
          },
        ]
      },
      {
        path: 'laws',
        component: () => import('@/layouts/blank.vue'),
        meta: {title: '法律法规管理', icon: 'view-module'},
        children: [
          {
            path: 'index',
            component: () => import('@/pages/wlaq/laws/laws-index.vue'),
            meta: { title: '法律法规列表'},
          },
        ]
      },
      {
        path: 'emergency',
        component: () => import('@/layouts/blank.vue'),
        meta: {title: '应急管理', icon: 'view-module'},
        children: [
          {
            path: 'team',
            component: () => import('@/pages/wlaq/emergency/team-index.vue'),
            meta: { title: '应急队伍'},
          },
          {
            path: 'watch',
            component: () => import('@/pages/wlaq/emergency/watch-index.vue'),
            meta: { title: '应急值班'},
          },
        ]
      },
      {
        path: 'defend5',
        component: () => import('@/pages/blank.vue'),
        meta: {title: '事件处置', icon: 'view-module'},
        children: [
          {
            path: 'defend1',
            component: () => import('@/pages/blank.vue'),
            meta: {title: '日常事件'},
          },
          {
            path: 'defend2',
            component: () => import('@/pages/blank.vue'),
            meta: {title: '事件查询'},
          },
          {
            path: 'defend3',
            component: () => import('@/pages/blank.vue'),
            meta: {title: '数据共享'},
          },
        ]
      },
      {
        path: 'defend6',
        component: () => import('@/pages/blank.vue'),
        meta: {title: '信息报送与通报', icon: 'view-module'},
        children: [
          {
            path: 'defend1',
            component: () => import('@/pages/blank.vue'),
            meta: {title: '信息报送'},
          },
          {
            path: 'defend2',
            component: () => import('@/pages/blank.vue'),
            meta: {title: '信息通报'},
          },
        ]
      },
      {
        path: 'defend7',
        component: () => import('@/pages/blank.vue'),
        meta: {title: '文件管理', icon: 'view-module'},
      },
    ]
  }
]
